package cn.edu.cug.cs.gtl.docsrv.img.controller;

import cn.edu.cug.cs.gtl.docsrv.img.controller.ImgAllList;
import cn.edu.cug.cs.gtl.mybatis.mapper.img.ImgAll;

import java.util.List;
import java.util.Objects;

public class ImgAllList {
    @Override
    public String toString() {
        return "ImgAllList{" +
                "imgAllList=" + imgAllList +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof ImgAllList)) return false;
        ImgAllList that = (ImgAllList) o;
        return Objects.equals(getImgAllList(), that.getImgAllList());
    }

    @Override
    public int hashCode() {
        return Objects.hash(getImgAllList());
    }

    private List<ImgAll> imgAllList;

    public List<ImgAll> getImgAllList() {
        return imgAllList;
    }

    public void setImgAllList(List<ImgAll> imgAllList) {
        this.imgAllList = imgAllList;
    }
}
